Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cm, wit/bindgen: add JSON marshaling for enum types #280

Merged
merged 14 commits into from
Jan 27, 2025
Merged

Conversation

ydnar
Copy link
Collaborator

@ydnar ydnar commented Dec 31, 2024

Adds support for JSON serialization of WIT enum types as the string form of the enum as specified in the original WIT.

Affects #239.

@ydnar ydnar self-assigned this Jan 3, 2025
@ydnar ydnar requested a review from lxfontes January 3, 2025 19:24
@ydnar ydnar marked this pull request as ready for review January 3, 2025 19:24
ydnar added 4 commits January 4, 2025 08:25
Moves implementation of TextUnmarshaler from generated code to package cm.
Moves implementation of TextUnmarshaler from generated code to package cm.
@ydnar ydnar merged commit c53528d into main Jan 27, 2025
15 checks passed
@ydnar ydnar deleted the ydnar/enum-json branch January 27, 2025 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants